﻿using Newtonsoft.Json;

namespace AdminBase.Model
{
    /// <summary>
    /// 模型通用字段
    /// </summary>
    public class EntityCommon : EntityBase
    {
        /// <summary>
        /// 是否删除
        /// </summary>
        [JsonProperty("isDeleted")]
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        [JsonProperty("createUserName")]
        public string? CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [JsonProperty("createDateTime")]
        public DateTime? CreateDateTime { get; set; }

        /// <summary>
        /// 修改人姓名
        /// </summary>
        [JsonProperty("updateUserName")]
        public string? UpdateUserName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [JsonProperty("updateDateTime")]
        public DateTime? UpdateDateTime { get; set; }
    }
}
